<!-- importer index -->
<?php require '../public/system/headers/headers.php';?>
<?php echo $this->headLink()->appendStylesheet($this->websiteUrl . 'system/css/seotoaster.css'); ?>
<?php echo $this->headLink()->appendStylesheet($this->websiteUrl .'system/js/thickbox/thickbox.css'); ?>
<?php $this->headScript()->appendFile($this->websiteUrl . 'system/js/jquery/jquery.js'); ?>
<?php $this->headScript()->appendFile($this->websiteUrl . 'system/js/thickbox/thickbox.js'); ?>
<?php echo $this->headScript(); ?>

<div id="seotoaster" class="importer">
    <div id="admineditwhat">{%Import website%}</div>
    <div class="close_window" onclick="top.location.reload();"></div>
    <?php echo $this->form; ?>
	<div id="importer-errors" class="errors" style="<?php echo (isset($this->errors) && !empty($this->errors)) ? 'display:block' : 'display:none';?>;cursor:pointer;top:17%;" onclick="$(this).hide()">
		<ul>
			<?php foreach ($this->errors as $error): ?>
				<li><?php echo $error; ?></li>
			<?php endforeach; ?>
		</ul>
    </div>
	<div id="importer-importing" class="success" style="display:none; top:17%;">
		{%Importing%}...
	</div>
	<div id="importer-success" class="success" style="<?php echo (isset($this->success) && $this->success) ? 'display:block' : 'display:none';?>; top:17%;" onclick="$(this).hide()">
		{%Import successful%}.
	</div>
	<input type="hidden" id="hid-main-wsurl" name="hid-main-wsurl" value="<?php echo $this->websiteUrl; ?>" />
</div>